what is the graph for § setting up a simple graph § graphing more advanced properties

 

 

What is the graph for?

The graph part can be used to measure how properties in a model vary. Most parts have graphable properties, and the graph is a useful way of communicating information about these properties visually.

 

For example, plotting a graph of the temperature of the contents of a beaker against time.

 

 

 

Setting up a simple graph

The steps below outline how to create a graph.

 

1. Choosing a part to graph

Before you can draw a graph you must first choose which part (or parts) you are interested in measuring the properties of. Any part with graphable properties can be graphed.

 

 

To target a particular part, for example a beaker:

 

  1. Click on the target image on the graph and drag the target line to the beaker.

 

 

  1. When the cursor is over the beaker the target line will go from dashed to solid and the cursor will change to a target.

 

 

  1. Release the mouse button when the beaker has been targeted. The standard icon of the newly associated beaker will appear instead of the target image on the target tool.

 

 

2. Setting the y-axis value

The property measured on the y-axis is set using the property picker that appears just above it. Click on the underlined word Property... and chose the property to be measured from the list that appears.

 

In the example above an association to the beaker has been made, so the list will include all the graphable properties of the beaker part e.g. temperature, pH and volume.

 

3. Setting the x-axis

By default the x-axis is set to measure simulation time (a 'Global' property since it a property of the scenes).

 

However, there are three property categories that can be represented by the x-axis:

 

      • Global properties

      • Local part properties

      • Specific part properties

 

Click on the arrow next to the property picker to choose the property category:

 

 

 

  • Global property

A global property is one that does not relate to any part in the scene, but belongs to the scene itself. If this option is chosen, all the global scene properties will be listed in the property picker. Time is currently the only global property.

 

  • Local part property

A local part property is one that belongs to each part being graphed.

 

Graphing against a local part property will result in each part targeted for a  trace being graphed against its own value of the property.

For example, if two traces have been set up to graph beaker A and beaker B, the y-axis has been set to measure mass of solid, and the x-axis set to measure (local part property) temperature, then the graph will display the following two traces:

 

  • mass of solid in beaker A against the temperature of beaker A

  • mass of solid in beaker B against the temperature of beaker B

 

 

  • Specific part property

A specific part property is one that belongs to a targeted part.

When this option is chosen a target tool appears next to the property picker so that traces can be plotted against a specific part's property values.

 

 

For example, you may wish to graph the level of a burette against the pH in a beaker. To do this:

    1. Target the beaker using the target tool by the y-axis.

    2. Set the y-axis property to pH.

    3. Next, set the property category on the x-axis to Specific.

    4. Target the burette using the target tool and set the property to Burette level.

 

 

 

Graphing more advanced properties

Most parts have a number of graphable properties. For example most pieces of glassware have the following graphable properties: Mass, Mass of solids, Temperature, Volume, Volume of gases and pH.

 

However it is possible to add more advanced properties to this list, namely properties of particular species within a vessel. These properties are not shown by default (as they are so many), and instead have to be made 'observable' on any particular vessel. For example the concentration of Cl-(aq) within a beaker.

 

Setting up and graphing 'observable species' property

In this example the volume of H2(g) in a beaker will be make an 'observable' property.

  1. Drag a beaker on-screen.

  2. Select the beaker, open its Properties pane and open the Observed chemical species section.

  3. Press the '+' button. A (yet undefined) chemical species property will appear in the list.

  4. Click on the list item.

  5. Enter the species formula "H2(g)" in the Formula box in the Details section. When entering the formula you must:

  6. Include state symbols e.g. "H2(g)" not "H2"

  7. Include charge (for ions) e.g. "Cl-(aq)" not "Cl(aq)"

  1. Next choose the property of the species to be observed - in this example Volume. The volume of hydrogen gas in the beaker has now been made an 'observable' property of the beaker.

  2. Drag a graph part on-screen.

  3. Use the target tool to associate the trace with the beaker.

  4. Click on Property... and choose " Volume of H2(g)" that is now shown in the property list. Leave the x-axis measuring time.

  5. The volume of hydrogen gas in the beaker over time is now being graphed. The value will update as reactions take place within the beaker.

 

 

Vessels can have any number of 'observable' species properties. These properties can be added and removed using the '+' and '-' buttons.

 

If a species formula is entered incorrectly it will be shown as "invalid". Both state symbols and any charge (for ions) must be included for the species formula to be valid. Please note, values and symbols will not appear in superscript or subscript in the Formula box.

 

Any valid chemical species can be made observable, even if not currently in the vessel. If the species is not in the vessel any property of it will have the value '0'.

 

 

 

 

 

 

Related Topics